package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.Paymentrecord;

public interface PaymentRecordDAO extends CrudRepository<Paymentrecord, Long> {
	@Query("from Paymentrecord p order by p.id desc")
	public List<Paymentrecord> getAllPr(Pageable pageable);
}
